package com.lysj.bhp.user.controller;

import com.lysj.bhp.user.base.UserContent;
import com.lysj.bhp.user.domain.BhpcEditLog;
import com.lysj.bhp.user.domain.UserEditLog;
import com.lysj.bhp.util.web.Resp;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author wtl
 * @description
 * @create 2018-06-15 14:52
 **/
@RestController
@RequestMapping("admin/bhpc_edit_log")
public class BhpcEditLogController extends UserContent {

    @RequestMapping("/list")
    public Resp list(){
        List<BhpcEditLog> bhpcEditLogList=bhpcEditLogRepository.findAll();
        return new Resp(bhpcEditLogList);
    }
}
